home *** CD-ROM | disk | FTP | other *** search
-
- PCMOUSE.DOC - documentation of PCMOUSE 1.2
-
- 06-Aug-93
-
-
- PC-MOUSE: Paste what you have Cut with your MOUSE
- in the text-mode of DOS or OS/2 2.0 VDM.
- PCMOUSE is a shareware program but free
- for personal use.
-
-
- The author does not warrant the correctness of the documentation
- or the function of the program and does not warrant uninterrupted or
- error free operation of the Program.
- The user is advised to test the program fully. The risk of using
- this software is exclusively at the user. The author assumes no liability
- whatever for damages of any kind that might result from using the program.
-
- Cited product names are trade names.
-
-
-
- PCMOUSE copyright (c) 1992 by Jürgen Weber
-
-
- Jürgen Weber
- Wiesentalstraße 1
- D-74523 Schwäbisch Hall
- Germany - European Community
-
- email: weberj@dia.informatik.uni-stuttgart.de
-
- Please send comments and reports of reproduceable bugs to the email
- address.
-
- INTRODUCTION:
-
- Do you prefer the well readable text mode of your video card to the
- flicker of graphical user interfaces but would like to simply copy
- text by selecting and inserting it with your mouse (cut and paste)?
- Then you should use PCMOUSE. After going resident PCMOUSE enables Cut
- and Paste in the text modes of PC video cards. Programs that use the
- mouse themselves work as usual and ignore the presence of PCMOUSE.
-
- VERSIONS: 1.0 First public release
- 1.1 if you specify option /T PCMOUSE's buffer is stuffed
- into the keyboard buffer at every timer tick, too.
- 1.2 Un-install Option /U
- 8088 Version
-
- HARDWARE/SOFTWARE NEEDED:
-
- 80286 or better (not necessary for 8088 version)
- Bios with extended keyboard support (not necessary for 8088 version)
- Microsoft compatible mouse
- New mouse driver (with functions 14h,21h)
- MS-DOS compatible operating system (OS/2 2.x Dos Emulation is o.k.)
-
- (PCMOUSE complains if you lack anything.)
-
- SHAREWARE:
-
- PCMOUSE may be freely copied provided that you copy the complete
- package.
- The package consists of:
-
- PCMOUSE EXE 2990 6.08.93 9.46 : PC-Mouse executable for ATs
- PCMSE88 EXE 3078 6.08.93 9.45 : executable for 8088/8086 based PCs
- PCMOUSE DOC : the file you are reading
-
-
- PCMOUSE is free for personal use.
-
- Business users may try the program for a period of thirty days. After
- that time they must discontinue using PCMOUSE or pay the registration
- fee (40 US Dollars or 50 German Marks). Please send bills or a check
- to the above address.
-
-
- HOW TO USE:
-
- If you start PCMOUSE.EXE it displays an identification message and
- goes resident. If PCMOUSE is already installed or if it hasn't found
- the right processor, bios or mouse driver, it aborts with an error
- message.
- If you do not use the mouse you will see no sign of PCMOUSE being
- present. Only when you move the mouse, the mouse cursor gets visible.
- It gets hidden again as soon as the next character is displayed on
- screen. To select a text area move the mouse cursor to the beginning of
- the area. Keep the left button pressed and move over the area you want
- to select. When you release the left button the selected text is
- copied to PCMOUSE's internal buffer.
- If the mouse cursor is on a word you can select it by double clicking
- the left button. A word is a sequence of letters, digits, the
- underline character and European special letters (IBM ascii values 80h
- to 0a5h, 0e0h to 0ebh).
- If you select a new screen area the internal buffer is overwritten. If
- you press and release the left button without selecting an area the
- internal buffer is cleared.
- Press the right mouse button to simulate the content of the buffer being
- typed in with the keyboard. If you keep the CONTROL key pressed
- while pressing the right button, an additional pressing of ENTER is
- simulated.
- PCMOUSE's internal buffer has space for 1024 characters. If you
- selected a text that is too large to fit into the buffer the last part
- is discarded. But the buffer gets rarely full as blanks are
- compressed. Also blanks at the end of a line are discarded. After the
- last non-blank of a line PCMOUSE inserts a CR char to simulate
- pressing ENTER. Control characters with ascii values below 32 are not
- stored in the buffer and discarded.
- The selected area is de-selected as soon as you press the left key
- again or if anything is displayed on the screen. This is done because
- the programs you run don't know anything about the selection. The
- de-selecting is done to prevent chaos on the screen. There can be
- problems if programs write directly to the screen memory which PCMOUSE
- can't intercept. But this occurs rarely and causes only optical harm.
- Programs run as usual. If a program offers mouse support itself the
- mouse functions of PCMOUSE lay dormant until the program ends.
-
- TECHNICAL NOTES:
-
- PCMOUSE hooks interrupts 10h, 16h and 21h. Int 10h is hooked to
- de-select a selected screen region every time a program calls int 10h.
- Int 16h is hooked to read from PC-Mouse's buffer. It also gets a new
- function 80h that PCMOUSE uses to see if it is already installed.
- With int 21h the exec function is patched. Before each program start
- via exec the mouse routine of PCMOUSE is activated and after the exec
- function the previous mouse routine is restored. So PCMOUSE works at
- the normal dos prompt and also with dos shells started within user
- programs.
- Every time a program calls the keyboard interrupt 16h PCMOUSE fills up
- the keyboard buffer with characters from its internal buffer.
- As some programs bypass int 16h and read directly from the keyboard
- buffer you can specify option /T so that PCMOUSE's buffer is stuffed
- into the keyboard buffer at every timer tick, too.
- This option hooks int 1ch.
-
- Use option /u to un-install PCMOUSE. But this is only possible,
- if there is no other TSR loaded after PCMOUSE that hooks the
- same int vectors.
-
- PCMOUSE uses a little more than 2.5K of memory and half of that is used for its
- text buffer.
- The selecting of a screen area is indicated by XORing the attribute
- bytes with 50h. To de-select they are simply XORed again.
-
-
-
- return values: 0 successfully installed
- 1 hardware/software preconditions
- not met
- 2 already installed
-
- PROBLEMS:
-
- If you leave Borland's TD386 with PCMOUSE installed it hangs the
- computer. When MSDOS 5.0 came out Borland had to distribute a patch
- for TD386 because then the same problem occurred. So this seems to be
- not PCMOUSE's problem but TD386's.
-
-
- THE AUTHOR is now (1993) 26 years old and student of computer science
- at the university of Stuttgart in southern Germany. He is also author
- of ZSIM, a Z80 - CP/M bios emulator that is available from ftp
- servers.
-
-